import Vue from 'vue'
import App from './App'

import Model from '@/model/index.js'

uni.$model = Model

// vuex
import store from './store'

// 引入全局uView
import uView from '@/uni_modules/uview-ui'
// #ifdef H5
// 提交前需要注释  本地调试使用
const vconsole = require('vconsole')
Vue.prototype.$vconsole = new vconsole() // 使用vconsole
// #endif 
Vue.prototype.$store = store

Vue.config.productionTip = false

App.mpType = 'app'
Vue.use(uView)


const app = new Vue({
	store,
	...App
})

// 引入请求封装
require('./util/request/index')(app)

app.$mount()




